package org.karelun.rabbit.rcp.editor;

import org.eclipse.emf.cdo.view.CDOView;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.ui.IPersistableElement;

public class RabbitEditorInput implements IRabbitEditorInput{

	private CDOView cdoView;
	
	private String resourcePath;
	
	public RabbitEditorInput(CDOView cdoView,String resourcePath){
		this.cdoView=cdoView;
		this.resourcePath=resourcePath;
	}
	
	@Override
	public boolean exists() {
		return true;
	}

	@Override
	public ImageDescriptor getImageDescriptor() {
		return null;
	}

	@Override
	public String getName() {
		return "";
	}

	@Override
	public IPersistableElement getPersistable() {
		return null;
	}

	@Override
	public String getToolTipText() {
		return null;
	}

	@Override
	public Object getAdapter(Class adapter) {
		return null;
	}

	@Override
	public CDOView getCDOView() {
		return cdoView;
	}

	@Override
	public String getResourcePath() {
		return resourcePath;
	}

}
